﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MyMainSite.Models.QuickProjectModel>" ValidateRequest="false" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

<form action="/quick/project" method="post" enctype="multipart/form-data">

Projects: <select id="projectId" name="projectId">
    <% foreach(var p in Model.Projects) { %>
        <option value="<%: p.ProjectId %>"><%: p.Name %></option>
    <% } %>
    <option value="0" selected>New...</option>

</select>
<br />
Name: <input id="textName" name="textName" /><br />
Source Code Url: <input id="textSourceCodeUrl" name="textSourceCodeUrl" /><br />
Friendly Url: <input id="textFriendlyUrl" name="textFriendlyUrl" /><br />
Description: <textarea id="textDescription" name="textDescription" rows="6">&lt;p&gt;&lt;/p&gt;</textarea><br />
Image: <input type="file" name="file" id="file" /><br />
 
    <input type="submit" name="submit" value="Submit" />
</form>

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="contentMainMenu" runat="server">
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="contentBreadCrumb" runat="server">
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="contentLeftMenu" runat="server">
</asp:Content>
